package org.bigdata.framework.core.protocol;

import java.util.HashMap;
import java.util.List;

import org.bigdata.framework.core.model.BalanceAccount;
import org.bigdata.framework.core.model.CommunityCategory;
import org.bigdata.framework.core.model.CountAccount;
import org.bigdata.framework.core.model.IpLoginNumber;
import org.bigdata.framework.core.model.LiveRoom;
import org.bigdata.framework.core.model.LiveStream;
import org.bigdata.framework.core.model.MemberProject;
import org.bigdata.framework.core.model.PayOrder;
import org.bigdata.framework.core.model.PayOrderDetail;
import org.bigdata.framework.core.model.PayRecharge;
import org.bigdata.framework.core.model.Project;
import org.bigdata.framework.core.model.ProjectProduct;
import org.bigdata.framework.core.model.TimeAccount;


/**
 * 交易相关接口
 * 
 * @author vimes 2017-2-7 17:02:18
 */
public interface ILiveService {

	/* 流媒体 start */
	LiveStream saveLiveStream(LiveStream liveStream);
	LiveStream editLiveStream(LiveStream liveStream);
    void deleteLiveStream(LiveStream liveStream);
    LiveStream findLiveStream(Integer id);
    List<LiveStream> getLiveStream();
    List<LiveStream> getLiveStream(HashMap<String, Object> queryParams, int pageNumber, int pageSize);
    Integer getLiveStreamCount(HashMap<String, Object> queryParams);
    /* 流媒体 end */
    /* 直播间 start */
    LiveRoom saveLiveRoom(LiveRoom liveStream);
    LiveRoom editLiveRoom(LiveRoom liveStream);
    void deleteLiveRoom(LiveRoom liveStream);
    LiveRoom findLiveRoom(Integer id);
    List<LiveRoom> getLiveRoom();
    List<LiveRoom> getLiveRoom(HashMap<String, Object> queryParams, int pageNumber, int pageSize);
    Integer getLiveRoomCount(HashMap<String, Object> queryParams);
}
